<template>
  <div class="nav-bar">
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>

export default {
  name:'NavigationBar',
  components:{
    
  }
}
</script>

<style scoped>
  .nav-bar{
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: 70px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    background-color: rgba(100, 100, 100, 1);
    min-width: 1000px;
  }
  .left{
    width: 35%;
    height: 70px;
  }
  .center{
    width: 35%;
    height: 70px;
    flex: 1;
  }
  .right {
    width: 30%;
    height: 70px;
  }
</style>